package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * The persistent class for the PS_C_MOD_ZCGL database table.
 * 
 */
@Entity
@Table(name="PS_C_MOD_ZCGL")
@NamedQuery(name="PsCModZcgl.findAll", query="SELECT p FROM PsCModZcgl p")
@IdClass(PsCModPerPrimary.class)
public class PsCModZcgl extends BaseDomain implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="C_COMPANY")
	private String cCompany;

	@Temporal(TemporalType.DATE)
	@Column(name="C_DATE")
	private Date cDate;

	@Temporal(TemporalType.DATE)
	@Column(name="C_DATE1")
	private Date cDate1;

	@Temporal(TemporalType.DATE)
	@Column(name="C_DATE2")
	private Date cDate2;

	@Column(name="C_LEVEL")
	private String cLevel;

	@Column(name="C_MOD_STATUS")
	private String cModStauts;

	@Column(name="C_NAME")
	private String cName;

	@Column(name="C_NAME1")
	private String cName1;

	@Column(name="C_SAVE_STATUS")
	private String cSaveStatus;

	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="PS_C_ZCGL_SEQNO")
	@SequenceGenerator(name="PS_C_ZCGL_SEQNO",sequenceName="PS_C_ZCGL_SEQNO",allocationSize=1)
	@Column(name="C_SEQNO")
	private BigDecimal cSeqno;

	@Id
	@Column(name="C_TRANSACTION_NBR")
	private String cTransactionNbr;

	@Id
	private String emplid;

	public PsCModZcgl() {
	}

	

	public String getcCompany() {
		return cCompany;
	}



	public void setcCompany(String cCompany) {
		this.cCompany = cCompany;
	}



	public Date getcDate() {
		return cDate;
	}



	public void setcDate(Date cDate) {
		this.cDate = cDate;
	}



	public Date getcDate1() {
		return cDate1;
	}



	public void setcDate1(Date cDate1) {
		this.cDate1 = cDate1;
	}



	public Date getcDate2() {
		return cDate2;
	}



	public void setcDate2(Date cDate2) {
		this.cDate2 = cDate2;
	}



	public String getcLevel() {
		return cLevel;
	}



	public void setcLevel(String cLevel) {
		this.cLevel = cLevel;
	}



	public String getcModStauts() {
		return cModStauts;
	}



	public void setcModStauts(String cModStauts) {
		this.cModStauts = cModStauts;
	}



	public String getcName() {
		return cName;
	}



	public void setcName(String cName) {
		this.cName = cName;
	}



	public String getcName1() {
		return cName1;
	}



	public void setcName1(String cName1) {
		this.cName1 = cName1;
	}



	public String getcSaveStatus() {
		return cSaveStatus;
	}



	public void setcSaveStatus(String cSaveStatus) {
		this.cSaveStatus = cSaveStatus;
	}



	public BigDecimal getcSeqno() {
		return cSeqno;
	}



	public void setcSeqno(BigDecimal cSeqno) {
		this.cSeqno = cSeqno;
	}



	public String getcTransactionNbr() {
		return cTransactionNbr;
	}



	public void setcTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}



	public String getEmplid() {
		return emplid;
	}



	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}



	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}